package projectsys.sys.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import projectsys.sys.core.mapper.RoleMapper;
import projectsys.sys.core.model.Role;
import projectsys.sys.core.service.RoleManager;

@Service("RoleManager")
public class RoleManagerImpl implements RoleManager{
	
	@Autowired
	RoleMapper roleMapper;

	@Override
	public List<Role> selectRoleByUserId(String userid) {
		return roleMapper.selectRoleByUserId(userid);
	}

}
